<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
		
 </body>
</html>
<script>
	//unshift()方法
	var arr = ['陈述', '姚瑶', '邓会东'];
	arr.unshift('廖仁章','李超云'); //添加到原数组的前面，改变原数组
	console.log(arr);
	console.log(arr.length); //5

	//shift()最前面删除一项
	arr.shift();
	console.log(arr);

	//尾部删除
	arr.pop();
	console.log(arr);
</script>
